package com.lyz.dataStructure.algorithm.yitu2020;/**
 * @Author:759057893@qq.com Lyz
 * @Date: ${Date} 14:32
 * @Description:
 **/

import java.util.Scanner;

/**
 *@Author:759057893@qq.com Lyz
 *@Date: 2019/8/10 14:32
 *@Description:
 **/
public class Main3 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        String[][] str = new String[N][M];
        for(int i =0;i<str.length;i++){
            for(int j = 0;j<str[i].length;j++){
                str[i][j] = sc.next();
            }
        }
        System.out.println(1);
    }
}
